#ifndef HISTOGRAMRGB_H
#define HISTOGRAMRGB_H
#include "histogram.h"

class HistogramRGB : public Histogram
{
    private:
        unsigned int * histogramR;
        unsigned int * histogramG;
        unsigned int * histogramB;
        unsigned long * redCDF;
        unsigned long * greenCDF;
        unsigned long * blueCDF;
    public:
        HistogramRGB();
        HistogramRGB(QImage*);
        ~HistogramRGB();
        void calcHistogram();
        QImage calcHistImage();
        void  calcCDF();
        unsigned long* getRedCDF();
        unsigned long* getGreenCDF();
        unsigned long* getBlueCDF();
};
#endif //HISTOGRAMRGB_H
